Package com. orange. webcom. sdkv2. datasync
Exposes the API of the Webcom Realtime Database service (or "datasync" in short).
Types
ChildEvent
Link copied to clipboard
Notification of a subscribed Child event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods).
Constraint
Link copied to clipboard
sealed class Constraint
Content copied to clipboard
DataEvent
Link copied to clipboard
sealed class DataEvent
Content copied to clipboard
Represents a notification received through the Firebase Cloud Messaging service from the Webcom back end in response to a Subscription previously set up using one of the DatasyncNode.subscribeThroughNotifications methods.
DatasyncManager
Link copied to clipboard
class DatasyncManager
Content copied to clipboard
DatasyncNode
Link copied to clipboard
DatasyncService
Link copied to clipboard
The WebcomAbstractService that makes it possible to interact in real time with the data of a Webcom application.
DatasyncState
Link copied to clipboard
data class DatasyncState(isReachable: Boolean, connectionState: DatasyncState.ConnectionState, authenticationState: AuthenticationEvent.AuthenticationState)
Content copied to clipboard
Represents some state indicators about a DatasyncService instance.
DatasyncTime
Link copied to clipboard
DatasyncValuable
Link copied to clipboard
class DatasyncValuable
Content copied to clipboard
Event
Link copied to clipboard
sealed class Event
Content copied to clipboard
Represents a notification received by a callback function (previously passed to one of the DatasyncNode.subscribe methods) from the Webcom back end in response to a Subscription.
PresenceState
Link copied to clipboard
Type used to publish the user's presence, which the DatasyncService.startPublishingMyPresence and DatasyncService.isPresent methods rely on.
This type should only be used to convert DatasyncValuable values using the DatasyncValuable.converted or DatasyncValuable.convertTo methods.
Subscriber
Link copied to clipboard
abstract class Subscriber
Content copied to clipboard
Subscription
Link copied to clipboard
interface Subscription
Content copied to clipboard
SubscriptionCancelationPolicy
Link copied to clipboard
enum SubscriptionCancelationPolicy : Enum<SubscriptionCancelationPolicy>
Content copied to clipboard
TransactionOperation
Link copied to clipboard
sealed class TransactionOperation
Content copied to clipboard
TransactionResult
Link copied to clipboard
data class TransactionResult(value: DatasyncValuable, hasCompleted: Boolean)
Content copied to clipboard
Represents the result of a transaction run by the DatasyncNode.runTransaction method.
ValueChanged
Link copied to clipboard
ValueChangedWithDataEvent
Link copied to clipboard
Notification of a subscribed ValueChanged.WithData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods).
ValueChangedWithoutDataEvent
Link copied to clipboard
Notification of a subscribed ValueChanged.WithoutData event type to a callback function (previously passed to one of the DatasyncNode.subscribe methods).